SftTree/NET 2.0

HAlignDefault Property, HeadersClass Class

Softel vdm, Inc.

Defines the default horizontal alignment for parts within cells in column headers.

Syntax      HeadersClass Class (Softelvdm.SftTreeNET)

VB   

Public Property HAlignDefault As HAlignmentEnum

C#   

public HAlignmentEnum HAlignDefault { get; set; }

C++   

public: property HAlignmentEnum HAlignDefault {
        HAlignmentEnum get();
        void set(HAlignmentEnum value);
}

Property Value

The default horizontal alignment.

HAlignmentEnum

Value

Description

Left

0

The contents are left aligned within the available space.

Center

1

The contents are centered within the available space.

Right

2

The contents are right aligned within the available space.

The default value is HAlignmentEnum.Left.

Comments

The HAlignDefault property defines the default horizontal alignment for parts within cells in column headers.

Individual parts can override the default alignment using the GenericPartClass.HAlign property.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com